package di.scanner.mongo.model;

import java.util.List;

public class ModelResult {

    public final static String TABLE = "Table";
    public final static String ENTITY = "Entity";
    public final static String ACCESS = "Access";

    private String name;
    private String entity;
    private String table;
    private String access;
    private String domain;
    private List<ClassField> classFieldList;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEntity() {
        return entity;
    }

    public void setEntity(String entity) {
        this.entity = entity;
    }

    public String getTable() {
        return table;
    }

    public void setTable(String table) {
        this.table = table;
    }

    public String getAccess() {
        return access;
    }

    public void setAccess(String access) {
        this.access = access;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public List<ClassField> getClassFieldList() {
        return classFieldList;
    }

    public void setClassFieldList(List<ClassField> classFieldList) {
        this.classFieldList = classFieldList;
    }

    @Override
    public String toString() {
        return "ModelResult{" +
                "name='" + name + '\'' +
                ", entity='" + entity + '\'' +
                ", table='" + table + '\'' +
                ", access='" + access + '\'' +
                ", domain='" + domain + '\'' +
                ", classFieldList=" + classFieldList +
                '}';
    }
}
